class CartService {

    //操作数据库 添加到购物车
    async createOrUpdate(user_id, goods_id) {
        return {
            id: 1,
            user_id: 13,
            goods_id: 1,
            number: 1,
            selected: true
        }
    }

}
module.exports = new CartService()